package com.groupbuying.settleproducer.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.groupbuying.settleproducer.dao.SettleUshopSplitPlantformDao;
import com.groupbuying.settleproducer.domain.SettleUshopSplitPlantformDO;
import com.groupbuying.settleproducer.service.SettleUshopSplitPlantformService;



@Service
public class SettleUshopSplitPlantformServiceImpl implements SettleUshopSplitPlantformService {
	@Autowired
	private SettleUshopSplitPlantformDao settleUshopSplitPlantformDao;
	
	@Override
	public SettleUshopSplitPlantformDO get(String settleId){
		return settleUshopSplitPlantformDao.get(settleId);
	}
	
	@Override
	public List<SettleUshopSplitPlantformDO> list(Map<String, Object> map){
		return settleUshopSplitPlantformDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return settleUshopSplitPlantformDao.count(map);
	}
	
	@Override
	public int save(SettleUshopSplitPlantformDO settleUshopSplitPlantform){
		return settleUshopSplitPlantformDao.save(settleUshopSplitPlantform);
	}
	
	@Override
	public int update(SettleUshopSplitPlantformDO settleUshopSplitPlantform){
		return settleUshopSplitPlantformDao.update(settleUshopSplitPlantform);
	}
	
	@Override
	public int remove(String settleId){
		return settleUshopSplitPlantformDao.remove(settleId);
	}
	
	@Override
	public int batchRemove(String[] settleIds){
		return settleUshopSplitPlantformDao.batchRemove(settleIds);
	}
	
}
